package com.fh.config;


import com.fh.model.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user-add",fallback = UserRegistClientFallback.class)
public interface UserRegistClient {

    @PostMapping("useradd/add")
    public int queryUser(Users users);

}
